package com.minelx.datamicroscope.querylanguage.common;

public class CountingBox {

    private int num;

    private CountingBox(int num) {
        this.num = num;
    }

    public int countDown() {
        return num++;
    }

    public static CountingBox startAt(int num) {
        return new CountingBox(num);
    }
}
